MKDIR:=mkdir -p
OUTDIR:=build
APP:=$(OUTDIR)/app
ZCC:=zcc +z80 -vn --no-crt

all: $(OUTDIR) $(APP)

$(OUTDIR):
	$(MKDIR) $@

$(APP):
	$(ZCC) mmap.asm file1.asm file2.asm -o $@

.PHONY: clean
clean:
	rm -rf $(OUTDIR)/*
